feat: improve CLI for Claude plugin integration#94
Open
josegironn wants to merge 4 commits intomainfrom
Open
Conversation
- Add --no-wait flag and non-TTY fallback to deploy command - Add --id flag to org select and resource env for non-interactive use - Add --json flag to org list and new resource env-list command - Add resource list, add, and remove commands for programmatic management - Enhance app info to show name, deploy status, and URL - Add origin/HEAD behind check to app start - Update SKILL.md and docs to mention Next.js, document new commands - Add Read permission for skill docs in allowed-tools Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Add `major app deploy-status --version-id <id>` returning JSON with status, appUrl, and deploymentError - Update --no-wait output to show the version ID and suggest deploy-status command - Update SKILL.md and docs with deploy-status workflow Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
AddResourcesToProject diffs the passed list against resources.json. Passing only the new resource caused it to treat all existing resources as removals. Now passes existing + new. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Use ReadLocalResources (resources.json) as source of truth instead of GetApplicationResources (which returns all org resources) - Extract ResolveResourceItems helper, reuse in manage/add/remove - Remove now uses AddResourcesToProject for consistent client cleanup - Bump plugin version to 1.0.4 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--no-waitflag and non-TTY fallback todeploycommand (fixes crash when run by AI agent)--idflag toorg selectandresource envfor non-interactive use--jsonflag toorg listand newresource env-listcommandresource list,resource add --id,resource remove --idfor programmatic resource managementapp infoto show name, deploy status, and URL (+--jsonflag)app startReadpermission for docsTest plan
major org list --jsonreturns valid JSON with org IDs andisSelectedmajor org select --id <id>sets org without TUImajor resource listreturns JSON withisAttachedmarkersmajor resource add --id <id>/major resource remove --id <id>workmajor resource env-list --jsonreturns environmentsmajor resource env --id <id>sets environment without TUImajor app deploy --message "test" --slug "test" --no-waitreturns without crashmajor app startwarns when behind originmajor app infoshows URL and deploy statusmajor app info --jsonreturns valid JSON🤖 Generated with Claude Code